package com.sqlcheck.dto.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.Builder;

@Data
@Builder
@Schema(description = "数据库类型响应")
public class DatabaseTypeResponse {

    @Schema(description = "数据库类型值", example = "ORACLE")
    private String value;

    @Schema(description = "数据库类型显示名称", example = "Oracle")
    private String label;

    @Schema(description = "数据库图标", example = "database")
    private String icon;

    @Schema(description = "是否支持作为源数据库", example = "true")
    private Boolean supportAsSource;

    @Schema(description = "是否支持作为目标数据库", example = "true")
    private Boolean supportAsTarget;
}